Optimal. Leaf size=275 \[ -\frac {b c \sqrt {-1+c^2 x^2} \sqrt {d+e x^2}}{d^2 \sqrt {c^2 x^2}}-\frac {a+b \csc ^{-1}(c x)}{d x \sqrt {d+e x^2}}-\frac {2 e x \left (a+b \csc ^{-1}(c x)\right )}{d^2 \sqrt {d+e x^2}}+\frac {b c^2 x \sqrt {1-c^2 x^2} \sqrt {d+e x^2} E\left (\text {ArcSin}(c x)\left |-\frac {e}{c^2 d}\right .\right )}{d^2 \sqrt {c^2 x^2} \sqrt {-1+c^2 x^2} \sqrt {1+\frac {e x^2}{d}}}-\frac {b \left (c^2 d+2 e\right ) x \sqrt {1-c^2 x^2} \sqrt {1+\frac {e x^2}{d}} F\left (\text {ArcSin}(c x)\left |-\frac {e}{c^2 d}\right .\right )}{d^2 \sqrt {c^2 x^2} \sqrt {-1+c^2 x^2} \sqrt {d+e x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.22, antiderivative size = 275, normalized size of antiderivative = 1.00, number of steps
used = 10, number of rules used = 11, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.478, Rules used = {277, 197,
5347, 12, 597, 538, 438, 437, 435, 432, 430} \begin {gather*} -\frac {2 e x \left (a+b \csc ^{-1}(c x)\right )}{d^2 \sqrt {d+e x^2}}-\frac {a+b \csc ^{-1}(c x)}{d x \sqrt {d+e x^2}}-\frac {b x \sqrt {1-c^2 x^2} \left (c^2 d+2 e\right ) \sqrt {\frac {e x^2}{d}+1} F\left (\text {ArcSin}(c x)\left |-\frac {e}{c^2 d}\right .\right )}{d^2 \sqrt {c^2 x^2} \sqrt {c^2 x^2-1} \sqrt {d+e x^2}}+\frac {b c^2 x \sqrt {1-c^2 x^2} \sqrt {d+e x^2} E\left (\text {ArcSin}(c x)\left |-\frac {e}{c^2 d}\right .\right )}{d^2 \sqrt {c^2 x^2} \sqrt {c^2 x^2-1} \sqrt {\frac {e x^2}{d}+1}}-\frac {b c \sqrt {c^2 x^2-1} \sqrt {d+e x^2}}{d^2 \sqrt {c^2 x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 197
Rule 277
Rule 430
Rule 432
Rule 435
Rule 437
Rule 438
Rule 538
Rule 597
Rule 5347
Rubi steps
\begin {align*} \int \frac {a+b \csc ^{-1}(c x)}{x^2 \left (d+e x^2\right )^{3/2}} \, dx &=-\frac {a+b \csc ^{-1}(c x)}{d x \sqrt {d+e x^2}}-\frac {2 e x \left (a+b \csc ^{-1}(c x)\right )}{d^2 \sqrt {d+e x^2}}+\frac {(b c x) \int \frac {-d-2 e x^2}{d^2 x^2 \sqrt {-1+c^2 x^2} \sqrt {d+e x^2}} \, dx}{\sqrt {c^2 x^2}}\\ &=-\frac {a+b \csc ^{-1}(c x)}{d x \sqrt {d+e x^2}}-\frac {2 e x \left (a+b \csc ^{-1}(c x)\right )}{d^2 \sqrt {d+e x^2}}+\frac {(b c x) \int \frac {-d-2 e x^2}{x^2 \sqrt {-1+c^2 x^2} \sqrt {d+e x^2}} \, dx}{d^2 \sqrt {c^2 x^2}}\\ &=-\frac {b c \sqrt {-1+c^2 x^2} \sqrt {d+e x^2}}{d^2 \sqrt {c^2 x^2}}-\frac {a+b \csc ^{-1}(c x)}{d x \sqrt {d+e x^2}}-\frac {2 e x \left (a+b \csc ^{-1}(c x)\right )}{d^2 \sqrt {d+e x^2}}+\frac {(b c x) \int \frac {-2 d e+c^2 d e x^2}{\sqrt {-1+c^2 x^2} \sqrt {d+e x^2}} \, dx}{d^3 \sqrt {c^2 x^2}}\\ &=-\frac {b c \sqrt {-1+c^2 x^2} \sqrt {d+e x^2}}{d^2 \sqrt {c^2 x^2}}-\frac {a+b \csc ^{-1}(c x)}{d x \sqrt {d+e x^2}}-\frac {2 e x \left (a+b \csc ^{-1}(c x)\right )}{d^2 \sqrt {d+e x^2}}+\frac {\left (b c^3 x\right ) \int \frac {\sqrt {d+e x^2}}{\sqrt {-1+c^2 x^2}} \, dx}{d^2 \sqrt {c^2 x^2}}-\frac {\left (b c \left (c^2 d+2 e\right ) x\right ) \int \frac {1}{\sqrt {-1+c^2 x^2} \sqrt {d+e x^2}} \, dx}{d^2 \sqrt {c^2 x^2}}\\ &=-\frac {b c \sqrt {-1+c^2 x^2} \sqrt {d+e x^2}}{d^2 \sqrt {c^2 x^2}}-\frac {a+b \csc ^{-1}(c x)}{d x \sqrt {d+e x^2}}-\frac {2 e x \left (a+b \csc ^{-1}(c x)\right )}{d^2 \sqrt {d+e x^2}}+\frac {\left (b c^3 x \sqrt {1-c^2 x^2}\right ) \int \frac {\sqrt {d+e x^2}}{\sqrt {1-c^2 x^2}} \, dx}{d^2 \sqrt {c^2 x^2} \sqrt {-1+c^2 x^2}}-\frac {\left (b c \left (c^2 d+2 e\right ) x \sqrt {1+\frac {e x^2}{d}}\right ) \int \frac {1}{\sqrt {-1+c^2 x^2} \sqrt {1+\frac {e x^2}{d}}} \, dx}{d^2 \sqrt {c^2 x^2} \sqrt {d+e x^2}}\\ &=-\frac {b c \sqrt {-1+c^2 x^2} \sqrt {d+e x^2}}{d^2 \sqrt {c^2 x^2}}-\frac {a+b \csc ^{-1}(c x)}{d x \sqrt {d+e x^2}}-\frac {2 e x \left (a+b \csc ^{-1}(c x)\right )}{d^2 \sqrt {d+e x^2}}+\frac {\left (b c^3 x \sqrt {1-c^2 x^2} \sqrt {d+e x^2}\right ) \int \frac {\sqrt {1+\frac {e x^2}{d}}}{\sqrt {1-c^2 x^2}} \, dx}{d^2 \sqrt {c^2 x^2} \sqrt {-1+c^2 x^2} \sqrt {1+\frac {e x^2}{d}}}-\frac {\left (b c \left (c^2 d+2 e\right ) x \sqrt {1-c^2 x^2} \sqrt {1+\frac {e x^2}{d}}\right ) \int \frac {1}{\sqrt {1-c^2 x^2} \sqrt {1+\frac {e x^2}{d}}} \, dx}{d^2 \sqrt {c^2 x^2} \sqrt {-1+c^2 x^2} \sqrt {d+e x^2}}\\ &=-\frac {b c \sqrt {-1+c^2 x^2} \sqrt {d+e x^2}}{d^2 \sqrt {c^2 x^2}}-\frac {a+b \csc ^{-1}(c x)}{d x \sqrt {d+e x^2}}-\frac {2 e x \left (a+b \csc ^{-1}(c x)\right )}{d^2 \sqrt {d+e x^2}}+\frac {b c^2 x \sqrt {1-c^2 x^2} \sqrt {d+e x^2} E\left (\sin ^{-1}(c x)|-\frac {e}{c^2 d}\right )}{d^2 \sqrt {c^2 x^2} \sqrt {-1+c^2 x^2} \sqrt {1+\frac {e x^2}{d}}}-\frac {b \left (c^2 d+2 e\right ) x \sqrt {1-c^2 x^2} \sqrt {1+\frac {e x^2}{d}} F\left (\sin ^{-1}(c x)|-\frac {e}{c^2 d}\right )}{d^2 \sqrt {c^2 x^2} \sqrt {-1+c^2 x^2} \sqrt {d+e x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 3.96, size = 213, normalized size = 0.77 \begin {gather*} \frac {-b c \sqrt {1-\frac {1}{c^2 x^2}} x \left (d+e x^2\right )-a \left (d+2 e x^2\right )-b \left (d+2 e x^2\right ) \csc ^{-1}(c x)}{d^2 x \sqrt {d+e x^2}}+\frac {i b c \sqrt {1-\frac {1}{c^2 x^2}} x \sqrt {1+\frac {e x^2}{d}} \left (c^2 d E\left (i \sinh ^{-1}\left (\sqrt {-c^2} x\right )|-\frac {e}{c^2 d}\right )-\left (c^2 d+2 e\right ) F\left (i \sinh ^{-1}\left (\sqrt {-c^2} x\right )|-\frac {e}{c^2 d}\right )\right )}{\sqrt {-c^2} d^2 \sqrt {1-c^2 x^2} \sqrt {d+e x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 180.00, size = 0, normalized size = 0.00 \[\int \frac {a +b \,\mathrm {arccsc}\left (c x \right )}{x^{2} \left (e \,x^{2}+d \right )^{\frac {3}{2}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {a+b\,\mathrm {asin}\left (\frac {1}{c\,x}\right )}{x^2\,{\left (e\,x^2+d\right )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________